package com.example.demo.service.impl;

import com.example.demo.entity.econ.AreaData;
import com.example.demo.entity.econ.MapData;
import com.example.demo.mapper.EconMapper;
import com.example.demo.service.EconService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EconServiceImpl implements EconService {

    @Resource
    private EconMapper econMapper;

    @Override
    public List<MapData> getCityMap() {
        return econMapper.getCityMap();
    }

    @Override
    public List<MapData> getCountryMap() {
        return econMapper.getCountryMap();
    }

    @Override
    public List<AreaData> xiBei() {
        return econMapper.xiBei();
    }

    @Override
    public List<AreaData> dongBei() {
        return econMapper.dongBei();
    }

    @Override
    public List<AreaData> huaBei() {
        return econMapper.huaBei();
    }

    @Override
    public List<AreaData> huaDong() {
        return econMapper.huaDong();
    }

    @Override
    public List<AreaData> zhongNan() {
        return econMapper.zhongNan();
    }

    @Override
    public List<AreaData> xiNan() {
        return econMapper.xiNan();
    }
}
